ComponentOne Themes for WinForms
GetEnum<T>(String,T) Method

C1.Win.C1Themes.4 Assembly > C1.Win.C1Themes Namespace > C1Theme Class > GetEnum Method : GetEnum<T>(String,T) Method
The target path.
Used if value at specified path does not exist.
Gets an enumeration value specified by a path.
Syntax
'Declaration
 
Public Overloads Function GetEnum(Of T)( _
   ByVal path As System.String, _
   ByVal defaultValue As T _
) As T
public T GetEnum<T>( 
   System.string path,
   T defaultValue
)

Parameters

path
The target path.
defaultValue
Used if value at specified path does not exist.

Type Parameters

T

Return Value

The enum value specified by path or %% if value at specified path does not exist.
See Also

Reference

C1Theme Class
C1Theme Members
Overload List